{timelineName}_row_class

定义将分配给 Timeline 视图中某行的 CSS 类

sectionobject该 section 对象
timelineobject该 timeline 对象

Available only in PRO Edition

Example

scheduler.templates.timeline_row_class = function(section, timeline){
    return "";
};

Applicable views:Timeline 视图
Details

该模板需要启用 timeline 插件。

该模板的默认实现如下:

scheduler.templates.{timelineName}_row_class = function(section, timeline){
    if(timeline.folder_events_available && section.children){
        return "folder";
    }
    return "";
};
See also
Change log

版本 v5.3.9 中新增

返回顶部